package com.jingdianjichi.subject.domain.convert;


import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * @Author: 蔺永斌
 * @Date: 2024/2/17
 * @Time: 13:55
 * @Description:
 */
@Mapper
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);

    List<SubjectLabelBO> convertLabelToBoList(List<SubjectLabel> subjectLabelList);

    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);
}
